@extends('admin.base.index')

@section('content')
    <!-- Deafult Table -->
                <div class="block-area" id="defaultStyle">
                    <h3 class="block-title">网站配置管理</h3>
                    <table class="table tile">
                        @foreach($list as $v)
                        <tr>
                            <td width="80px">标题：</td>
                            <td>{{ $v->title }}</td>
                        </tr>
                        <tr>
                            <td>关键字：</td>
                            <td>{{ $v->keys }}</td>
                        </tr>
                        <tr>
                            <td>描述：</td>
                            <td>{{ $v->description }}</td>
                        </tr>
                        <tr>
                            <td>状态：</td>
                            <td>{{ $v->switch=='0'?"正常":"关闭" }}</td>
                        </tr>
                        @endforeach
                    </table>
                    <a class="btn" href="{{ url('admin/config').'/'.$v->id }}/edit">修改信息</a>
                </div>
@stop

